package ModelLayer;

/**
 * Write a description of class DvdCopy here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class DvdCopy
{
    // instance variables - replace the example below with your own
    private String copyNr;
    private String year;
    private double price;
    private String copyTitle;

    /**
     * Constructor for objects of class DvdCopy
     */
    public DvdCopy(String copyNr, String year, double price)
    {
        this.copyNr = copyNr;
        this.year = year;
        this.price = price;
    }
    
    /**
     * This method will return the copyNr
     */
    public String getCopyNr()
    {
        return copyNr;
    }
    
    /**
     * This method will return the year
     */
    public String getYear()
    {
        return year;
    }
    
    /**
     * this method will return the price
     */
    public double getPrice()
    {
        return price;
    }
    
    /**
     * This method will set the copyNr
     */
    public void setCopyNr(String copyNr)
    {
        this.copyNr = copyNr;
    }
    
    /**
     * This method will set the year
     */
    public void setYear(String year)
    {
        this.year = year;
    }
    
    /**
     * This method will set the price
     */
    public void setPrice()
    {
        this.price = price;
    }
    
    /**
     * This method will print the information about the copy
     */
    public void printInfo()
    {
        System.out.println("Copy number: "+ copyNr);
        System.out.println("Price: "+ price);
    }
    
}